package com.hdl.school.utils;

import com.hdl.school.bean.PlanTask;

import java.util.Comparator;

/**
 * Created by Admin on 2016/10/11.
 */
public class FileTaskComparator implements Comparator<PlanTask> {
    @Override
    public int compare(PlanTask lhs, PlanTask rhs) {
        return lhs.getTime()<=rhs.getTime()?-1:1;
    }
}
